<script setup lang="ts">
import BookList from './components/BookList.vue'
</script>

<template>

  <h1 class="container">图书馆管理系统</h1>
  <div>
    <router-link to="/home">首页</router-link>
    <router-link to="/login">登录</router-link>
    <router-view></router-view>
  </div>
  <book-list></book-list>
</template>

<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}

.container {
  display: flex;
  justify-content: center;  /* 水平居中 */
  /* 若需垂直居中，添加：align-items: center; */
}
</style>
